<?php

namespace app\api\model;

use think\Model;

class ProductionRelation extends Model
{

    public function parent()
    {
        return $this->hasMany(Production::class, 'pid');
    }
}
